package com.chujian.framework.bean;


import com.chujian.framework.core.IIdName;

import java.io.Serializable;

/**
 * @author ：yj
 * @date ：2020-09-04
 */
public class IdName implements IIdName {

    private Serializable id;
    private String name;

    public IdName() {
    }

    public IdName(Serializable id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public Serializable getId() {
        return id;
    }

    @Override
    public void setId(Serializable id) {
        this.id = id;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
